package com.koron.css2.serviceManage.mapper;

import com.koron.css2.serviceManage.bean.QuartzBean;
import com.koron.css2.serviceManage.queryBean.JobQueryBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface QuartzMapper {
	public List<QuartzBean> selectList(@Param("bean") JobQueryBean bean,@Param("quartzPrefix") String quartzPrefix);
	public QuartzBean selectTime(@Param("bean") JobQueryBean bean,@Param("quartzPrefix") String quartzPrefix);

	void updateExecutionTime(@Param("quartzPrefix") String quartzPrefix,
							 @Param("time") String time,@Param("jobName") String jobName,@Param("jobGroup") String jobGroup);
	
	public void deleteScheduler(@Param("quartzPrefix") String quartzPrefix);
}
